<?php /* Smarty version 2.6.26, created on 2013-08-27 06:35:00
         compiled from collection_tag.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'thumb', 'collection_tag.tpl', 4, false),)), $this); ?>
<div class="box">
  <div class="box-content row clearfix">
	  <div class="col-img post pull-left">
	  	<img class="photoTag" data-album-id="<?php echo $this->_tpl_vars['col']['col_id']; ?>
" data-image-id="<?php echo $this->_tpl_vars['img']['image_id']; ?>
" data-user-id="<?php echo $this->_tpl_vars['col']['col_id']; ?>
" src="<?php echo ((is_array($_tmp=$this->_tpl_vars['img']['image_path'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 's970x646') : smarty_modifier_thumb($_tmp, 's970x646')); ?>
" />
	  </div>
  </div>
</div>

<?php echo '
<script language="javascript" type="text/javascript">
$(document).ready(function(){  
    $(\'.photoTag\').photoTag({  
      requestTagsUrl: PG_URL+\'collection/tagload\',  
      deleteTagsUrl: PG_URL+\'collection/tagdelete\',  
      addTagUrl: PG_URL+\'collection/tagadd\',
      tag: {
      	maxWidth: 1000,
      	maxHeight: 1000,
      	newTagFormWidth: 200
      },      
      parametersForNewTag: {  
        name: {  
          parameterKey: \'name\',  
          isAutocomplete: true,  
          autocompleteUrl: PG_URL+\'product/ajax\',  
          label: \'Sản phẩm\'                     
        }  
      }  
    });  
});  
</script>
'; ?>